body {
    font-family: Arial, sans-serif;
}

.file-tree ul {
    list-style-type: none;
    padding-left: 20px;
}

.file-tree .caret,
.file-tree .file-item {
    cursor: pointer;
    user-select: none; /* Prevent text selection */
    border: none;
    background: none;
    color: black;
    text-align: left;
    outline: none;
    padding: 0; /* Reduced padding */
    font-size: 1em;
    display: inline-block;
    width: 100%;
    margin: 0 0; /* Reduced margin */
}

.file-tree .caret::before {
    content: "\25B6";
    color: black;
    display: inline-block;
    margin-right: 6px;
}

.file-tree .caret-down::before {
    transform: rotate(90deg);
}

.file-tree .nested {
    display: none;
}

.file-tree .active {
    display: block;
}